All Questions
3 questions
11votes
4answers
20kviews
Determine if a file is either in JSON or XML format
The purpose of this function is to determine if report_input_file is either in JSON format or XML format, this is what I came up with, just want to know if this is ...
3votes
1answer
2kviews
Dirty XML-to-JSON parser
I have that XML-to-JSON function based on ElementTree. It looks very simple but until now it does what it's supposed to do: give a JSON description of the document'...
1vote
1answer
251views
Parsing XML file containing some events
I'm a beginner and have written my first Python module that parses a XML file containing some events and prints them out to stdout as JSON. I would appreciate some ...